package com.group.mall.mapper;

import com.group.mall.domain.POJO.Evaluation;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface EvaluationMapper {

    @Insert("insert into hmall.evaluation(user_id,goods_id,content,score,order_id) values(#{userId},#{goodsId},#{content},#{score},#{orderId})")
    Boolean insertEva(Evaluation evaluation);
}
